package com.itheima.springboottilasmanager.survice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.springboottilasmanager.pojo.domain.PageResult;
import com.itheima.springboottilasmanager.pojo.vo.StudentQuery;
import com.itheima.springboottilasmanager.pojo.domain.Student;

import java.util.List;

public interface StudentService extends IService<Student> {

    PageResult<Student> queryAll(StudentQuery sq);

    void deleteById(List<Integer> ids);

    boolean addStudent(Student student);

    Student selectById(Integer id);

    boolean updateStudent(Student student);

    Boolean addViolation(Integer id, Double score);
}
